package main

import "fmt"

func main() {
	var x = 1
	fmt.Print(x)
	x = 2
	y := 3
	fmt.Println(x)
	fmt.Println(y)
	var testMap = make(map[string]map[string]int, 10)
	var testMapValue = make(map[string]int, 3)
	testMapValue["b"] = 4
	testMap["a"] = testMapValue
	fmt.Println(testMap)
	delete(testMap, "a")
	fmt.Println(testMap)

	//匿名结构体
	pet := struct {
		name string
		kind string
	}{
		name: "dog",
		kind: "pet",
	}

	fmt.Println(pet)
}
